package org.obs.service.impl;

import org.obs.core.HibernateExecutor;
import org.obs.core.hibernate.operations.GetUserByEmailOperation;
import org.obs.domain.User;

public class UserServiceTest {

	private HibernateExecutor executor;

	protected UserServiceTest() {

	}

	public UserServiceTest(HibernateExecutor executor) {
		this.executor = executor;
	}

	public User getByEmail(String email) {
		return executor.execute(new GetUserByEmailOperation(email));
		
	}
	
}
